//
//  HisDynamicTableViewCell.m
//  DefendHealth
//
//  Created by 吾诺翰卓003 on 17/2/20.
//  Copyright © 2017年 iMacOne. All rights reserved.
//

#import "HisDynamicTableViewCell.h"
#import "Header.h"
@interface HisDynamicTableViewCell ()
{
    UIImageView *img1;
    UIImageView *img2;
}
@end
@implementation HisDynamicTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        UIView *hui = [UIView new];
        hui.frame = CGRectMake(0, 0,WindowWidth , 6);
        hui.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:hui];
        
        img1 = [UIImageView new];
        img1.frame = CGRectMake(10, 6, (WindowWidth-26)/2, 162.5);
        [self.contentView addSubview:img1];
        img1.backgroundColor = [UIColor grayColor];
        
        img2 = [UIImageView new];
        img2.frame = CGRectMake(kMaxX(img1.frame)+6, 6, (WindowWidth-26)/2, 162.5);
        [self.contentView addSubview:img2];
        img2.backgroundColor = [UIColor grayColor];
    }
    return self;
}
@end
